package com.eco.fanliapp.admin.controller.web;


import com.eco.fanliapp.admin.common.BaseController;
import com.eco.fanliapp.common.response.ServerResponse;
import com.eco.fanliapp.entity.SySendSmBatch;
import com.eco.fanliapp.entity.SySendSmTemplate;
import org.springframework.web.bind.annotation.*;

/**
 * <p>
 * 批量短信发送记录 前端控制器
 * </p>
 *
 * @author jobob
 * @since 2019-12-25
 */
@RestController
@RequestMapping("/web/smBatch")
public class SySendSmBatchController extends BaseController {

	//全部
	//全部有余额
	//下单未提现
	//下单已提现
	//未下单
	//未下单有余额
	//长时间未打开app用户(或者删除app)
	//经常购物活跃用户
	//新手任务未完成用户
	//经常打开app未购物用户
	//只完成免单
	//只完成首单
	@PostMapping("/selectUser")
	public ServerResponse sendSmMessage(@RequestBody SySendSmBatch sySendSmBatch){

//参数校验
		String smTitle = sySendSmBatch.getSmTitle();
		Long smTempalteId = sySendSmBatch.getSmTempalteId();
		Integer pushScope = sySendSmBatch.getPushScope();
		String signTitle = sySendSmBatch.getSignTitle();

		String smContent = sySendSmBatch.getSmContent();
		String smContent1 = sySendSmBatch.getSmContent();

		return ServerResponse.createBySuccessMessage("模板创建成功");
	}

}
